<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<body>

<form action="/world/admin/updateAdminMember.do" method="post">
	<table align="center">
	<tr>
		 <td>ID :</td>
		 <td><input type="text" id="memberId" name="memberId" value="${requestScope.member.memberId }" maxlength="6" readonly="readonly"/></td>
	</tr>
	<tr>
		<td>PW :</td> 
		<td><input type="password" id="memberPassword" name="memberPassword" value="${requestScope.member.memberPassword}" maxlength="8"/></td>
	</tr>
	<tr>
		<td>이름 :</td> 
		<td><input type="text" id="memberName" name="memberName" value="${requestScope.member.memberName}"/></td>
	</tr>
	<tr>
		<td>닉네임 :</td> 
		<td><input type="text" id="nickName" name="nickName" value="${requestScope.member.nickName}"/></td>
	</tr>
	<tr>
		<td>성별 :</td> 
		<td>남<input type="radio" name="gender" value="m"/> <!-- 생각 좀 해봐야 겠음 -->
			    여<input type="radio" name="gender" value="f"/></td>
	</tr>
	<tr>	
		<td>전화번호 :</td>
		<td><input type="text" name="phoneNumber" value="${requestScope.member.phoneNumber}"/></td>
	</tr>
	<tr>		
		<td>생년월일 :</td>
		<td><select id="birthYear" name="birthYear"><option value="birthYear" disabled="disabled">연도 선택</option><%for(int i=1950; i<=2010; i++){ %><option value="<%=i%>"><%=i+"년"%></option><%} %></select>
		 <select id="birthMonth" name="birthMonth"><option value="birthMonth" disabled="disabled">월 선택</option> <%for(int i=1; i<=12; i++){ %><option value="<%=i%>"><%=i+"월"%></option><%} %></select>
		 <select id="birthDay" name="birthDay"><option value="birthDay" disabled="disabled">일 선택</option><%for(int i=1; i<=31; i++){ %><option value="<%=i%>"><%=i+"일"%></option><%} %></select></td>
	</tr>
	<tr>	 	
		<td>Email :</td>
		<td><input type="text" id="email" name="email" value="${param.member}"/></td>
	</tr>
	<tr>
		<td>memberGrade :</td>
		<td><input type="text" id="memberGrade" name="memberGrade" value="${requestScope.member.memberGrade}"/></td>
	</tr>
	<tr>
		<td>memberLeave :</td>
		<td>
		<input type="text" id="memberLeave" name="memberLeave" value="${requestScope.member.memberLeave}"/>
		</td>
	</tr>
	<tr>
	<td><input type="submit" value="수정"/>
	       <input type="reset" value="다시 작성"/></td>
	</tr>
	</table>
</form>

</body>
</html>